package com.dinglit.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

/***
 *
 *
 * @author liuhuanchao
 * @date 2019-08-22 
 */
@RequestMapping(value = "/hello")
@RestController
public class HelloController {

    @RequestMapping(value = "/",method = RequestMethod.GET)
    public String getHello(){
        return "Hello World";
    }
}
